<template>
  <div>
    <a @click="yongJie" href="http://www.yjwujian.cn/">阻止1</a> <br>
    <a @click="yongJieNo(10,$even)" href="http://www.yjwujian.cn/">阻止2</a>
  </div>
</template>

<script>
export default {
  name: 'Homework2App',

  data() {
    return {
      
    };
  },

  mounted() {
    
  },

  methods: {
    yongJie(e){
      e.preventDefault()
    },
    yongJieNo(num,e){
      e.preventDefault()
    }
  },
};
</script>

<style lang="scss" scoped>

</style>